a = b'******\r\n(router) #show version\r\nJadeOS Operating System Software, Version JadeOS_Gate_X86-3.7.1.150P01\r\r\nWebsite: http://www.skspruce.com\r\r\nCopyright (c) 2013, SKSpruce, Inc.\r\r\nCompiled on 2016-10-13_09_36 by SKSpruce\r\r\nGateway uptime is 8 days 59 minutes 27 seconds\r\r\nReboot Cause: Reboot By CMD\r\r\n\r\r\nIf there is any further assistance required, please contact SKSpruce service department\r\r\n\r\r\nBase MAC Address                 : 04:8B:42:10:90:00               \r\r\nMAC Address NUmber               : 32                              \r\r\nMotherboard Serial Number        : 8042017021000005                \r\r\n\r\n(router) #exit\r\n'
b = b'******\r\n(router) #show version\r\nJadeOS Operating System Software, Version JadeOS_Gate_X86-3.7.1.150P01\r\r\nWebsite: http://www.skspruce.com\r\r\nCopyright (c) 2013, SKSpruce, Inc.Compiled on 2016-10-13_09_36 by SKSpruceGateway uptime is 8 days 59 minutes 27 secondsReboot Cause: Reboot By CMDIf there is any further assistance required, please contact SKSpruce service departmentBase MAC Address                 : 04:8B:42:10:90:00               MAC Address NUmber               : 32                              Motherboard Serial Number        : 8042017021000005                (router) #exit'

c = a.decode()
c = c.replace('\r\r','\r')
print(c)
